<!DOCTYPE html>
<html lang="en">

<head>
    #include("./common/head.htm")
</head>

<body>
    #include("./common/header.htm")
    <div id="mainBody">
        <div class="container">
            <div class="row">
                #include("./common/sidebar.htm")
                <div class="span9" id="receiving-table">
                    <ul class="breadcrumb">
                        <li><a href="/view/catalog-main.html">首页</a> <span class="divider">/</span></li>
                        <li class="active">收货地址</li>
                    </ul>
                    <h2>收货地址</h2>
                    <br>
                    <div>
                        <a :href="'/view/receiving_detail.html'"><button class="btn btn-success btn-mini">新增收货地址</button></a>
                    </div>
                    <br>
                    <table class="table table-striped table-bordered table-condensed">
                        <thead>
                            <tr>
                                <th>收货地址编号</th>
                                <th>收货人姓名</th>
                                <th>所在国家</th>
                                <th>所在省份</th>
                                <th>所在城市</th>
                                <th>详细地址</th>
                                <th>收款人联系电话</th>
                                <th></th>
                            </tr>
                        </thead>
                        <tr v-for="receiving in receivings">
                            <td>{{receiving.receivingid}}</td>
                            <td>{{receiving.receivename}}</td>
                            <td>{{receiving.addrcoutry}}</td>
                            <td>{{receiving.addrprovince}}</td>
                            <td>{{receiving.addrcouty}}</td>
                            <td>{{receiving.addrdetails}}</td>
                            <td>{{receiving.contactphone}}</td>
                            <td>
                                <a :href="'/view/receiving_detail.html?receivingID='+receiving.receivingid">
                                    <button class="btn btn-mini btn-primary">修改</button></a>
                            </td>
                        </tr>
                    </table>
                </div>

            </div>
        </div>
    </div>
    <!-- MainBody End ============================= -->
    #include("./common/footer.htm")
</body>

</html>